
export function makeMap(str) {
  let arr = str.split(',')
  let obj = {}
  arr.forEach(vv => {
    obj[vv] = true
  });
  return function () {
    let args = arguments
    return obj[args[0]]
  }
}
